<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core">
<f:view>
<head>
<style type="text/css">
ul li{list-style:none;}
.lititle{color:blue;font-size:24px;list-style:circle;}
</style>
</head>
<body>
    <ul>
	<li class="lititle">&#160;&#160;h:link测试</li>
	<li><h:link value="welcome" outcome="welcome"/></li><br/>
	<li> 
	<h:link  outcome="welcome">
		<h:graphicImage library="pic" name="beauty.gif" title="welcome"/>
	</h:link></li>

	<li><h:link value="welcome" outcome="welcome">
		<f:param value="hello" name="hi"/>
		</h:link></li>
	<br/>
	<li class="lititle">&#160;&#160;h:commandLink测试</li>
	<h:form>
	<li>
	    <h:commandLink action="#{login.goWelcome}" value="welcome"/>
	</li>
	<li>
	    <h:commandLink action="#{login.goWelcome}" >
		<h:graphicImage library="pic" name="beauty.gif" title="welcome"/>
	    </h:commandLink>
	</li>
	<li>
	   <h:commandLink action="#{login.goWelcome}" value="welcome">
		<f:param name="hi" value="hello"/>
	   </h:commandLink>
	</li>
	</h:form>
	<br/>
	<li class="lititle">&#160;&#160;h:outputLink测试</li>
	<li><h:outputLink value="welcome.xhtml">welcome</h:outputLink></li>
	<li><h:outputLink value="welcome.xhtml">
		<h:graphicImage library="pic" name="beauty.gif" title="welcome"/>
		</h:outputLink></li>
	<li></li>
    </ul>
</body>
</f:view>
</html>